package net.dodoman.decoration;

/**
 * 装饰者:Salt
 * @author yanping
 *
 */
public class Salt implements Beverage{
	Beverage beverage;

	public Salt(Beverage beverage) {
		this.beverage = beverage;
	}

	@Override
	public float cost() {
		return 3+beverage.cost();
	}

}
